#include "stdafx.h"
#include "CErrorService.h"





//CErrorService::CErrorService( ICoreServices *pCore )
//{
//	this->m_pCore = pCore;
//}


XUINT32 CErrorService::AddRef()
{
	throw std::logic_error("The method or operation is not implemented.");
}

XUINT32 CErrorService::Release()
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::AddListener( struct IErrorServiceListener * pListener )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::RemoveListener( struct IErrorServiceListener * pListener )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::GetLastReportedError( struct IError * * ppError )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::GetFirstError( struct IError * * ppError )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::AddError( struct IError * pErrorObject )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::CleanupLastError( struct IError * pError )
{
	throw std::logic_error("The method or operation is not implemented.");
}

void CErrorService::CleanupErrors()
{
	throw std::logic_error("The method or operation is not implemented.");
}

void CErrorService::CoreResetCleanup( struct ICoreServices * pCore )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::UpdateErrorCodeFromXResult( HRESULT xResult, XUINT32 * pErrorCode )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::UnspecifyMediaError( XUINT32, XUINT32 * )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::GetMessageFromErrorCode( XUINT32 iErrorID, XCHAR * * ppMessage, XUINT32 * pcMessage )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::FormatErrorMessage( XCHAR * pOriginalErrorMessage, XUINT32 cOriginalErrorMessage, XCHAR * * ppFormattedErrorMessage, XUINT32 * pcFormattedErrorMessage, struct XSTRING * * ppParam, XUINT32 cParams )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::ReportGenericError( enum ErrorType eType, XUINT32 iErrorCode, XBOOL bRecoverable, XUINT32 uLineNumber, XUINT32 uCharPosition, struct XSTRING * * ppParam, XUINT32 cParams, struct Xcp_IDependencyObject * pErrorEventArgs, struct Xcp_IDependencyObject * pSender )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::ReportParserError( XUINT32 iErrorCode, XBOOL bRecoverable, CXString * pstrXamlFileName, CXString * pstrXmlElement, CXString * pstrXmlAttribute, XUINT32 uLineNumber, XUINT32 uCharPosition, CXString * pstrMessage, struct XSTRING * * ppParam, XUINT32 cParams )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::ReportRuntimeError( XUINT32 iErrorCode, XBOOL bRecoverable, XUINT32 uLineNumber, XUINT32 uCharPosition, CXString * pstrMethodName, struct XSTRING * * ppParam, XUINT32 cParams, struct Xcp_IDependencyObject * pErrorEventArgs, struct Xcp_IDependencyObject * pSender, XUINT32 cMessage, XCHAR * pErrorMessage )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::ReportManagedError( XUINT32 bRecoverable, XBOOL cMessage, XCHAR * pErrorMessage )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::ReportInvalidOperationError( struct ICoreServices * pCore, XUINT32 uiErrorCode, CXString * pstrParameter1, CXString * pstrParameter2, CXString * pstrParameter3 )
{
	throw std::logic_error("The method or operation is not implemented.");
}

HRESULT CErrorService::Create( struct ICoreServices * pCore, struct IErrorService * * ppErrorService )
{
	throw std::logic_error("The method or operation is not implemented.");
}

CErrorService::CErrorService( struct ICoreServices * pCore )
{

}

CErrorService::~CErrorService()
{

}

long CErrorService::Initialize()
{
	throw std::logic_error("The method or operation is not implemented.");
}

void CErrorService::CleanupListeners()
{
	throw std::logic_error("The method or operation is not implemented.");
}
